import request from '@/utils/request'

// 登录
export const reqLogin = (data) => request.post('/sys/login', data)

// 用户信息
export const reqGetUserInfo = () => request.post('/sys/profile')

// 获取用户头像
export const reqGetAvatar = (id) => request.get(`/sys/user/${id}`)
